package com.recruit.wechat.bean;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author 肖守凯
 * @since 2020-08-24
 */
@Data
@TableName("wechat_position")
@ApiModel(value="WechatPosition对象", description="")
public class WechatPosition extends Model<WechatPosition> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "职位ID")
    @TableId(value = "position_id", type = IdType.AUTO)
    private Integer positionId;

    @ApiModelProperty(value = "公司ID")
    @TableField("position_company_id")
    private Integer positionCompanyId;


    @TableField(exist = false)
    private String companyName;  //公司ID  对应的公司名字


    @ApiModelProperty(value = "区域ID")
    @TableField("position_area_id")
    private String positionAreaId;

    @TableField(exist = false)
    private String areaName;  //区域ID 对应的区域名字


    @ApiModelProperty(value = "职位类型ID")
    @TableField("position_industry_id")
    private Integer  positionIndustryId;

    @TableField(exist = false)
    private String jobName;  //职位类型ID 职位类型名字(如C++ JAVA)



    @ApiModelProperty(value = "薪资")
    @TableField("position_salary")
    private String positionSalary;


    @ApiModelProperty(value = "职位联系人名字")
    @TableField("position_username")
    private String positionUsername;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "poistion_create_time",fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty(value = "职位修改时间")
    @TableField(value = "poistion_update_time",fill = FieldFill.INSERT_UPDATE )
    private String updateTime;

    @ApiModelProperty(value = "是否删除 0 正常/1删除")
    @TableField("poistion_is_delete")
    private String poistionIsDelete;

    @ApiModelProperty(value = "职位要求")
    @TableField("poistion_requirement")
    private String poistionRequirement;

    @ApiModelProperty(value = "标签集合")
    @TableField("poistion_label_ids")
    private String poistionLabelIds;

    @ApiModelProperty(value = "职位描述")
    @TableField("position_describe")
    private String positionDescribe;

    @ApiModelProperty(value = "职位详细地址")
    @TableField("position_address")
    private String positionAddress;

    @ApiModelProperty(value = "公司电话")
    @TableField("position_phone")
    private String positionPhone;



}
